package org.example.domain;

import cn.hutool.log.Log;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName take_position
 */
@Data
public class TakePosition implements Serializable {

    /**
     *
     */

    private Integer id;
    /**
     * 股票id
     */
    private Integer stockId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 成交价格
     */
    private Double volumePrice;
    /**
     * 成交时间
     */
    private Long createDate;
    /**
     * 成交编号
     */
    private String volumeCode;

    /**
     * 股票数量
     */
    private Integer num;

    private BigDecimal averagePrice;;

    private Integer isdel;

    private String stockName;

    private String stockCode;

    private BigDecimal latestPrice;

    private BigDecimal percentageChange;

    private String username;

    private BigDecimal sellPrice;

    private Integer xvnum;
}